﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using iLangl.Tests.SerializationFixture;
using iLangl.Model;
using iLangl.Customer.Actions;

namespace iLangl.Tests.CustomerFixture
{
	[TestClass]
	public class UpdateCompanyInfoTest : CompanyValidationTest
	{
		[TestMethod]
		public void UpdateCompanyInfo()
		{
			SwitchToCustomerSide();

			Company company = GetCompany();

			company.City = "Kiev";
			UpdateCompanyInfoAction action = new UpdateCompanyInfoAction(company);
			action.Execute();


		}
	}
}
